#include <stdio.h>
main()
{    
	int i,sum=0;  
	for(i=1;i<=100;i++) //2
	{    
		if(i/2*2==i && i/7*7==i && i/3*3!=i) //2
		{    
			printf("%5d",i);  //2
			sum=sum+i;  //2
		}
	}
	printf("\nsum=%d\n",sum);  //2
}